replacement statement meaning in English
替换语句
置换语句
Examples
- If the function , such as string replacement function , accepts both arrays and single characters as arguments , and if your argument list is not too long , consider writing a few redundant replacement statements , passing one character at a time , instead of one line of code that accepts arrays as search and replace arguments
一些函数,比如字符串更换函数,接收数组和单个字符做为参数,并且如果你的参数列表不是很长,斟酌写一些冗余更换语句,每次传送一个字符,代替一行代码接收数组做为查找和更换的参数。 - If the function , such as string replacement function , accepts both arrays and single characters as arguments , and if your argument list is not too long , consider writing a few redundant replacement statements , passing one character at a time , instead of one line of code that accepts arrays as search and replace arguments
如果一个字符串替换函数,可接受数组或字符作为参数,并且参数长度不太长,那么可以考虑额外写一段替换代码,使得每次传递参数是一个字符,而不是只写一行代码接受数组作为查询和替换的参数。 - If the function , such as string replacement function , accepts both arrays and single characters as arguments , and if your argument list is not too long , consider writing a few redundant replacement statements , passing one character at a time , instead of one line of code that accepts arrays as search and replace arguments
一些函数,比如字符串替换函数,接受数组和单个字符做为参数,并且如果你的参数列表不是很长,考虑写一些冗余替换语句,每次传送一个字符,代替一行代码接受数组做为查找和替换的参数。 - If the function , such as string replacement function , accepts both arrays and single characters as arguments , and if your argument list is not too long , consider writing a few redundant replacement statements , passing one character at a time , instead of one line of code that accepts arrays as search and replace arguments
一些函数,比如字符串替换函数,接受数组和单个字符做为参数,并且如果你的参数列表不是很经典,考虑写一些冗余替换语句,每次传送一个字符,代替一行代码接受数组做为查找和替换的参数。